package com.wjw.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
*@author WuJianWei
*@date 2022/2/28 19:59
*/
@Data
@TableName(value = "carousel")
public class Carousel implements Serializable {
    @TableId(value = "carousel_id", type = IdType.ASSIGN_ID)
    private Integer carouselId;

    @TableField(value = "imgPath")
    private String imgpath;

    @TableField(value = "describes")
    private String describes;

    @TableField(value = "product_id")
    private Integer productId;

    private static final long serialVersionUID = 1L;

    public static final String COL_CAROUSEL_ID = "carousel_id";

    public static final String COL_IMGPATH = "imgPath";

    public static final String COL_DESCRIBES = "describes";

    public static final String COL_PRODUCT_ID = "product_id";
}